home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / debug.prog / local.mk < prev    next >
Encoding:
Text File  |  1988-11-23  |  909 b   |  21 lines

  1. #
  2. # This file is included by Makefile.  Makefile is generated automatically
  3. # by mkmf, and this file provides additional local personalization.  The
  4. # variable SYSMAKEFILE is provided by Makefile;  it's a system Makefile
  5. # that must be included to set up various compilation stuff.
  6. #
  7.  
  8. #
  9. # This file is needed so that the program can have a different name than
  10. # its directory.  The reason for this is that the Makefile in .. has a
  11. # target for each of its subdirectories, plus a standard target with the
  12. # same name as this program's name.  Thus if the directory weree named
  13. # after its program, which is the usual case, there would be conflict of
  14. # Makefile targets and weird things would happen during makes.  Instead,
  15. # this directory is given a ".prog" extension, which means that NAME is
  16. # set wrong in Makefile.  To compensate, we reset NAME here.
  17.  
  18. NAME        := $(NAME:S|.prog||)
  19.  
  20. #include    <$(SYSMAKEFILE)>
  21.